import Layout from '@/layout/Layout'

const OrderRouter = {
  path: '/order',
  component: Layout,
  redirect: 'noredirect',
  name: '订单管理',
  meta: {
    title: '订单管理',
    icon: 'fa-cart-plus'
  },
  children: [
    {
      path: 'orderManagement',
      component: () => import('@/views/order/OrderManagement'),
      name: 'OrderManagement',
      meta: { title: '普通订单',cache: true}
    },
    {
      path: 'alarmOrderManagement',
      component: () => import('@/views/order/AlarmOrderManagement'),
      name: 'AlarmOrderManagement',
      meta: { title: '报警订单',cache: true}
    },
  ]
}

export default OrderRouter
